package cn.csust.net2.manager.client.module;

import cn.csust.net2.manager.client.resources.Resources;
import cn.csust.net2.manager.shared.util.ClassForNameAble;

import com.extjs.gxt.ui.client.Style;
import com.extjs.gxt.ui.client.widget.TabItem;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.google.gwt.user.client.ui.AbstractImagePrototype;

@ClassForNameAble
public class BaseModule extends TabItem{
	/**
	 * 参数：GRID条件加载的条件索引
	 */
	public static final String GRID_FILTER = "gridFilter";
	/**
	 * 查询条件：姓名
	 */
	public static final String NAME="姓名";
	/**
	 * 查询条件：性别
	 */
	public static final String SEX = "性别";
	/**
	 * 查询条件：学号
	 */
	public static final String STUDENT_NUMBER = "学号";
	/**
	 * 查询条件：班级
	 */
	public static final String BEAN_JI = "班级";
	/**
	 * 查询条件：生日
	 */
	public static final String BIRTHDAY = "生日";
	/**
	 * 查询条件：出生地
	 */
	public static final String BIRTHPLACE = "出生地";
	/**
	 * 查询条件：祖籍
	 */
	public static final String NATION = "祖籍";
	/**
	 * 查询条件：出生地
	 */
	public static final String SPECIALTY = "出生地";
	/**
	 * 查询条件：手机号码
	 */
	public static final String CELLPHONE = "手机号码";
	/**
	 * 查询条件：QQ
	 */
	public static final String QQ = "QQ号码";
	/**
	 * 查询条件：住址
	 */
	public static final String ADDRESS = "地址";
	/**
	 * 查询条件：邮编
	 */
	public static final String POST_CODE= "邮编";
	/**
	 * 查询条件：出生地
	 */
	public static final String TELLPHONE= "出生地";
	/**
	 * 查询条件：寝室
	 */
	public static final String DORMITORY= "寝室";
	
	/**
	 * 参数voteAnswer 的名称
	 */
	public static final String VOTE_ANSWER = "voteAnswer";
	
	/**
	 * 参数voteAnswer 的名称
	 */
	public static final String VOTE = "vote";
	
	/**
	 * 参数voteAnswer 的名称
	 */
	public static final String STUDENT = "student";
	
	
	
	public BaseModule() {
		this.setClosable(true);
		this.setLayout(new FitLayout());
		this.addStyleName("pad-text");
		this.setIcon(AbstractImagePrototype.create(Resources.ICONS.tabItemFeed()));
		this.setScrollMode(Style.Scroll.AUTOX);
	}
}
